//
//  HRLocationManager.h
//  原生定位和地理编码
//
//  Created by Hello Cai on 2021/8/5.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^LocationSuccess)(CLLocation *location);
typedef void(^LocationFail)(CLLocationManager *manager, NSError *error);

@interface HRLocationManager : NSObject

+(instancetype)sharedInstance;

-(void)startLocation:(LocationSuccess)success failure:(LocationFail)failure;
@end

NS_ASSUME_NONNULL_END
